-- GENERATED SPELL FOR [Sul'lithuz Broodling] --


function spell0_8138(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_8138', 533, 1)
end

function Sorts_8138(pUnit, Event)
local choix_sorts_8138 = math.random(0, 0)
if choix_sorts_8138 == 0 then
pUnit:RegisterEvent('spell0_8138', 1, 1)
end
end

function mob8138_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8138', math.random(1500, 3000), 1)
end

function mob8138_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8138_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8138_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8138, 1, 'mob8138_Action')
RegisterUnitEvent(8138, 2, 'mob8138_Leave')
RegisterUnitEvent(8138, 3, 'mob8138_Kill')
RegisterUnitEvent(8138, 4, 'mob8138_Die')
